package com.ruoqing.core.domain.rqadmin;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
	* @author YaoXian
	* @title: BanUserPo
	* @projectName ruoxi-blog
	* @description: 若兮微服务 - 核心通用模块 - 后台管理中心模块 - 用户黑名单实体类
	* @date 2020-11-16 17:21
	*/
@Data
@TableName("ruoqing_user_blacklist")
public class BanUserPo implements Serializable {
		
		@TableId(value = "blacklist_id",type = IdType.AUTO)
		private Integer blackId;
		
		@TableField("user_phoneNumber")
		private String phoneNumber;
		
		@DateTimeFormat(pattern = "yyyy-MM-dd")
		@JsonFormat(pattern = "yyyy-MM-dd")
		@TableField("ban_time")
		private Date banTime;
		
}
